﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Dzzzr
{
	/// <summary>
	/// UserRole
	/// </summary>
	[DataContract]
	public class DzzzrUserRole
	{
		/// <summary>
		/// ID
		/// </summary>
		protected int _ID = 0;
		/// <summary>
		/// ID
		/// </summary>
		[DataMember]
		public int ID
		{
			get { return _ID; }
			set { _ID = value; }
		}

		/// <summary>
		/// Name
		/// </summary>
		protected string name = string.Empty;
		/// <summary>
		/// Name
		/// </summary>
		[DataMember]
		public string Name
		{
			get { return name; }
			set { name = value ?? string.Empty; }
		}
	}
}
